package com.config;


import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.core.io.ClassPathResource;
import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

@Configuration   //表示 这个类 里面的符合spring 注解规范的对象都要生成
@ComponentScan("com") //扫描指定包下面 符合spring 注解规范的对象
@EnableWebMvc
@Import({MyBatisConfig.class,WebConfig.class,JdbcConfig.class})
public class SpringConfig extends WebMvcConfigurationSupport {

}